package com.tangruitao.service.impl;


import com.tangruitao.service.Handler;

/**
 * 这个类的作者是13536
 * 开发日期:2021/12/30
 *
 **/
public class Chairman implements Handler {
    private Double time;

    public Double getTime() {
        return time;
    }

    public void setTime(Double time) {
        this.time = time;
    }

    public Chairman(Double time) {
        this.time = time;
    }

    @Override
    public String doing() {
        if(time<=1){
            return "驳回";
        }
        return "同意";
    }
}
